package com.xj.utils;

import java.util.Timer;


public class StartTimedTask {
    public static void start(){
        Timer timer = new Timer();
        MyTimerTask task = new MyTimerTask();
        long delay = 1000;
        long period = 1000 * 60 * 30;
        timer.schedule(task, delay, period);
    }
}